<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>对 GD 图像应用 gamma 修正</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imagefttext.html">imagefttext</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imagegd2.html">imagegd2</a></div>
 <div class="up"><a href="ref.image.html">GD and Image 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.imagegammacorrect" class="refentry">
  <div class="refnamediv">
   <h1 class="refname">imagegammacorrect</h1>
   <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imagegammacorrect</span> &mdash; <span class="dc-title">对 GD 图像应用 gamma 修正</span></p>

  </div>
  <div class="refsect1 unknown-changeloh" id="refsect1-function.imagegammacorrect-unknown-changeloh">
   <h3 class="title">说明</h3>
   <div class="methodsynopsis dc-description">
    <span class="type">bool</span> <span class="methodname"><strong>imagegammacorrect</strong></span>
     ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
    , <span class="methodparam"><span class="type">float</span> <code class="parameter">$inputgamma</code></span>
    , <span class="methodparam"><span class="type">float</span> <code class="parameter">$outputgamma</code></span>
    )</div>

   <p class="para rdfs-comment">
    <span class="function"><strong>imagegammacorrect()</strong></span> 函数用给定的输入 gamma 值
    <em><code class="parameter">inputgamma</code></em> 和输出 gamma 值
    <em><code class="parameter">outputgamma</code></em> 对一幅 GD
    图像流（<em><code class="parameter">image</code></em>）应用 gamma 修正。
   </p>
  </div>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imagefttext.html">imagefttext</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imagegd2.html">imagegd2</a></div>
 <div class="up"><a href="ref.image.html">GD and Image 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
